<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no">
        <title>www.it123.org</title>



        <!-- Bootstrap -->
        <script src="__ROOT__/Data/Common/Js/jquery.js"></script>







    <include file="./Tpl/N/Common/member_header.html" />

    <script type="text/javascript" src="__ROOT__/Data/Common/Js/fullAvatarEditor/scripts/swfobject.js"></script>
    <script type="text/javascript" src="__ROOT__/Data/Common/Js/fullAvatarEditor/scripts/fullAvatarEditor.js"></script>
</head>
<body>
    <!--导航-->
<include file="./Tpl/N/Common/member_menu.html" />
<!--导航-->






<div class="container">
    <div class="row">
        <div class="col-md-1">
            <include file="./Tpl/N/Common/member_userinfo_menu.html" />
        </div>
        <div class="col-md-11">








            <!-- Nav tabs -->
            <ul class="nav nav-tabs" role="tablist">

                 
                
                <li role="presentation" class="active"><a href="#alipay" role="tab" data-toggle="tab">支付宝</a></li>
                <li role="presentation"><a href="#wxpay" role="tab" data-toggle="tab">微信</a></li>
            
 


            </ul>



            <!-- Tab panes -->
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="alipay">


                   
                    
                    
       
   

                                <div class="row">



                                        <p class="text-center">	<img src="{$alipayimg}" width="100"  alt="..." class="img-circle"></p>



                                </div>


      



                        
                        
                        
                        
                        <div style="width:632px;margin: 0 auto;text-align:center">
                                <h4 style="text-align:center">上传支付宝打赏收款图标</h4>
                                <div>
                                        <p id="swfContainer">
                                                本组件需要安装Flash Player后才可使用，请从<a href="http://www.adobe.com/go/getflashplayer">这里</a>下载安装。
                                        </p>
                                </div>
                                <button type="button" id="upload" style="display:none;margin-top:8px;">swf外定义的上传按钮，点击可执行上传保存操作</button>
                        </div>
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    


                </div>
                <div role="tabpanel" class="tab-pane" id="wxpay">

                 
                    
                    
                    
                    
                                
                         <div class="row">



                                        <p class="text-center">	<img src="{$wxpayimg}" width="100"  alt="..." class="img-circle"></p>



                                </div>




                        
                        
                        
                        
                        <div style="width:632px;margin: 0 auto;text-align:center">
                                <h4 style="text-align:center">上传微信打赏收款图标</h4>
                                <div>
                                        <p id="swfContainerwx">
                                                本组件需要安装Flash Player后才可使用，请从<a href="http://www.adobe.com/go/getflashplayer">这里</a>下载安装。
                                        </p>
                                </div>
                                <button type="button" id="upload" style="display:none;margin-top:8px;">swf外定义的上传按钮，点击可执行上传保存操作</button>
                        </div>
                    
                    
                    
                    
                    
                    
                    
                    

                </div>

            </div>





















        </div>
    </div>
</div>






<include file="./Tpl/N/Common/member_footer.html" />

<script type="text/javascript">
    swfobject.addDomLoadEvent(function() {

        var swf = new fullAvatarEditor(
                "__ROOT__/Data/Common/Js/fullAvatarEditor/fullAvatarEditor.swf",
                "__ROOT__/Data/Common/Js/fullAvatarEditor/expressInstall.swf",
                "swfContainer",
                {
                    id: 'swf',
                    upload_url: '__APP__/Public/upUserPayImg', //上传接口
                    method: 'post', //传递到上传接口中的查询参数的提交方式。更改该值时，请注意更改上传接口中的查询参数的接收方式
                    src_upload: 0, //是否上传原图片的选项，有以下值：0-不上传；1-上传；2-显示复选框由用户选择
                    avatar_box_border_width: 0,
                    avatar_sizes: '180*180|100*100',
                    avatar_sizes_desc: '170*170像素|100*100像素'
                }, function(msg) {
            switch (msg.code)
            {

                case 5 :
                    if (msg.type == 0)
                    {


                        window.location.reload();
                        alert("上传成功");


                    }
                    break;
            }
        }
        );







  var swf2 = new fullAvatarEditor(
                "__ROOT__/Data/Common/Js/fullAvatarEditor/fullAvatarEditor.swf",
                "__ROOT__/Data/Common/Js/fullAvatarEditor/expressInstall.swf",
                "swfContainerwx",
                {
                    id: 'swf2',
                    upload_url: '__APP__/Public/upUserWxpayImg', //上传接口
                    method: 'post', //传递到上传接口中的查询参数的提交方式。更改该值时，请注意更改上传接口中的查询参数的接收方式
                    src_upload: 0, //是否上传原图片的选项，有以下值：0-不上传；1-上传；2-显示复选框由用户选择
                    avatar_box_border_width: 0,
                    avatar_sizes: '180*180|100*100',
                    avatar_sizes_desc: '170*170像素|100*100像素'
                }, function(msg) {
            switch (msg.code)
            {

                case 5 :
                    if (msg.type == 0)
                    {


                        window.location.reload();
                        alert("上传成功");


                    }
                    break;
            }
        }
        );













    });

</script>			









</body>
</html>